@charset "UTF-8";
@import url("https://fonts.googleapis.com/css?family=Lato:400,400i,700");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  display: grid;
  place-content: center;
  font-size: 3rem;
  font-family: Lato;
  background-color: #234;
} 

form { width: 400px; }

label {
  display: inline-block;
  padding-block: .8rem;
  line-height: 1.6;
  text-transform: uppercase;
  color: #f1f1f1;
}

input {
  display: block;
  padding: 3px 3px 3px 10px;
  border-radius: 20px;
  border: 1px solid #8c8c8c;
  width: 100%;
  line-height: 1.6;
  font-weight: 400;
  font-size: 3rem;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: right 2rem center;
  background-size: 2rem 2rem;
  color: #fff;
  outline: none;
}

input:focus {border-color: #de4437;}

input[aria-valid="false"] {
  border-color: #de4437;
  background-image: url('');
}

input[aria-valid="true"] {
  border-color: #37c625;
  background-image: url('');
}

.control { margin-top: 50px; }
